Package com.cisco.pt.ipc.sim
Interface Cloud
- All Known Implementing Classes:
CloudImpl
Information provided by the PKI file:
\class Cloud
\brief Cloud is a cloud device.
\example network().getDevice("Cloud0")
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaddPhoneConnection(String number, String portName) Information provided by the PKI file:booleanaddPortConnection(String portName1, String portName2) Information provided by the PKI file:booleanaddSubLinkConnection(String portName1, String subLinkName1, String portName2, String subLinkName2) Information provided by the PKI file:getHardwareQueueAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:Information provided by the PKI file:getSubLinkConnectionAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:Information provided by the PKI file:booleanisDslConnection(String portname) Information provided by the PKI file:booleanremoveAllPortConnection(String portName) Information provided by the PKI file:voidremovePhoneConnection(String number) Information provided by the PKI file:booleanremovePortConnection(String portName) Information provided by the PKI file:booleanremoveSubLinkConnection(String portName, String subLinkName) Information provided by the PKI file:voidremoveSubLinkConnectionAt(int index) Information provided by the PKI file:booleansetDslConnection(String portName, boolean bDSL) Information provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.sim.Device
activityTreeToXml, addCustomVar, addDeviceExternalAttributes, addModule, addProgrammingSerialOutputs, addSound, addUserDesktopApp, addUserDesktopAppFromGlobal, clearDeviceExternalAttributes, clearProgrammingSerialOutputs, destroySounds, getAreaLeftX, getAreaTopY, getCenterXCoordinate, getCenterYCoordinate, getCommandLine, getCustomInterface, getCustomLogicalImage, getCustomPhysicalImage, getCustomVarNameAt, getCustomVarsCount, getCustomVarStr, getCustomVarValueStrAt, getDescriptor, getDeviceExternalAttributes, getDeviceExternalAttributeValue, getGlobalXPhysicalWS, getGlobalYPhysicalWS, getModel, getName, getPhysicalObject, getPort, getPortAt, getPortCount, getPorts, getPower, getProcess, getProgrammingSerialOutputs, getRootModule, getSerialNumber, getSupportedModule, getType, getUpTime, getUsbPortAt, getUsbPortCount, getUserDesktopAppAt, getUserDesktopAppByDir, getUserDesktopAppById, getUserDesktopAppCount, getXCoordinate, getXPhysicalWS, getYCoordinate, getYPhysicalWS, hasCustomVar, isDesktopAvailable, isOutdated, isProjectRunning, moveByInPhysicalWS, moveToLocation, moveToLocationCentered, moveToLocInPhysicalWS, playSound, relinkUserDesktopApp, removeCustomVar, removeModule, removeUserDesktopApp, restoreToDefault, runCodeInProject, runProject, serializeToXml, setCustomInterface, setCustomLogicalImage, setCustomPhysicalImage, setDeviceExternalAttributes, setName, setPower, setTime, stopProject, stopSound, stopSounds, subtractDeviceExternalAttributes, updateTemplateCreationTimeMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Method Details
-
addPhoneConnection
Information provided by the PKI file:
\brief Associates a phone number to a port. \param number, the telephone number. The format is 5551239999. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \return bool, true if successful, otherwise false.- Parameters:
number- Takes in a parameter of numberportName- Takes in a parameter of portName- Returns:
- boolean Returns a boolean
-
removePhoneConnection
Information provided by the PKI file:
\brief Removes the phone number from the port. \param number, the telephone number to remove.- Parameters:
number- Takes in a parameter of number
-
addSubLinkConnection
boolean addSubLinkConnection(String portName1, String subLinkName1, String portName2, String subLinkName2) Information provided by the PKI file:
\brief Adds a sublink connection between the two specified ports. \param portName1, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \param subLinkName1, the name of the sublink associated to portName1. \param portName2, see portName1 description. \param subLinkName1, the name of the sublink associated to portName2. \return bool, true if successful, otherwise false.- Parameters:
portName1- Takes in a parameter of portName1subLinkName1- Takes in a parameter of subLinkName1portName2- Takes in a parameter of portName2subLinkName2- Takes in a parameter of subLinkName2- Returns:
- boolean Returns a boolean
-
removeSubLinkConnection
Information provided by the PKI file:
\brief Removes the sublink connection. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \param subLinkName, the name of the sublink associated to portName. \return bool, true if successful, otherwise false.- Parameters:
portName- Takes in a parameter of portNamesubLinkName- Takes in a parameter of subLinkName- Returns:
- boolean Returns a boolean
-
addPortConnection
Information provided by the PKI file:
\brief Adds the port connection. \param portName1, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \param portName2, see portName1 description. \return bool, true if successful, otherwise false.- Parameters:
portName1- Takes in a parameter of portName1portName2- Takes in a parameter of portName2- Returns:
- boolean Returns a boolean
-
removePortConnection
Information provided by the PKI file:
\brief Removes the port connection. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \return bool, true if successful, otherwise false.- Parameters:
portName- Takes in a parameter of portName- Returns:
- boolean Returns a boolean
-
removeAllPortConnection
Information provided by the PKI file:
\brief Removes all port connections. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \return bool, true if successful, otherwise false.- Parameters:
portName- Takes in a parameter of portName- Returns:
- boolean Returns a boolean
-
setDslConnection
Information provided by the PKI file:
\brief Sets the DSL or cable connection. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \param bDsl, true for DSL connection, false for cable connection. \return bool, true if successful, otherwise false.- Parameters:
portName- Takes in a parameter of portNamebDSL- Takes in a parameter of bDSL- Returns:
- boolean Returns a boolean
-
getSubLinkConnectionCount
int getSubLinkConnectionCount()Information provided by the PKI file:
\brief Return the number of sublink connection. \return int, number of sublink connection- Returns:
- int Returns a int
-
getSubLinkConnectionAt
Information provided by the PKI file:
\brief Return the Sublink Connection at an index \param index, the index location in the queue of the desired sublink connection \return pair<CloudSubLink, CloudSubLink>, from and to sublink pair- Parameters:
index- Takes in a parameter of index- Returns:
- Pair<CloudSubLink, CloudSubLink> Returns a Pair<CloudSubLink, CloudSubLink>
-
getPortConnectionCount
int getPortConnectionCount()Information provided by the PKI file:
\brief Return the number of port connections. \return int, number of port connection- Returns:
- int Returns a int
-
getPortStrConnections
Information provided by the PKI file:
\brief Return a list of connection with port names \return vector<string>, list of connection with port names- Returns:
- List<String> Returns a List<String>
-
isDslConnection
Information provided by the PKI file:
\brief Check if the port is used in a Dsl Connection \return vector<string>, list of connection with port names- Parameters:
portname- Takes in a parameter of portname- Returns:
- boolean Returns a boolean
-
removeSubLinkConnectionAt
void removeSubLinkConnectionAt(int index) Information provided by the PKI file:
\brief Remove sublink connection at an index \param index, the index at which the sublink connection should be removed \return none- Parameters:
index- Takes in a parameter of index
-
getSubLinkConnectionInfo
Information provided by the PKI file:
\brief Get Sublink Connection Info (from port, from sublink, to port, to sublink) \return vector<string>, list of sublink connection info in string format- Returns:
- List<String> Returns a List<String>
-
getHardwareQueueCount
int getHardwareQueueCount()Information provided by the PKI file:
\brief Get the number of hardware queue \return int, number of hardware queue- Returns:
- int Returns a int
-
getHardwareQueueAt
Information provided by the PKI file:
\brief Remove hardware queue at an index \param index, the index at which the hardware queue is at \return HardwareQueue, HardwareQueue object- Parameters:
index- Takes in a parameter of index- Returns:
- HardwareQueue Returns a HardwareQueue
-